package com.example.studyroom.Entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Accessors(chain = true)
@Data
@TableName(value ="Reservation")
public class Reservation {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String Uname;//外键
    private String roomName;//外键
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String reserveStatus;
}
